FROM ubuntu:18.04

RUN apt -qqy update

RUN apt -qqy upgrade

RUN apt -qqy install git curl 

RUN apt -qqy install ecl

RUN apt -qqy install build-essential\
		     automake\
		     libcurl4-openssl-dev
		     
ENV HOME=/home/cameron

RUN useradd -m cameron

USER cameron

WORKDIR $HOME

# install Roswell - Qlot

RUN git clone https://github.com/roswell/roswell

WORKDIR $HOME/roswell

RUN sh bootstrap

RUN ./configure

RUN make -j3

USER root

RUN make install

USER cameron

WORKDIR $HOME

RUN ros setup

RUN ros install qlot

RUN git clone https://notabug.org/antonearro/cameron

WORKDIR $HOME/cameron

RUN /home/cameron/.roswell/bin/qlot install

CMD ["/bin/sh"]



